#define _CRT_SECURE_NO_WARNINGS  1

#include<stdio.h>
#include<assert.h>

int my_strlen(char const * arr)
{
	assert(*arr);
	int count = 0;
	while (*arr != '\0')
	{
		arr++;
		count++;
	}
	return count;
}

int main()
{
	char arr[] ="abcdefgh";
	int ret = my_strlen(arr);
	printf("%d", ret);
	return 0;
}